﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace IFWiki.Models
{
    public interface IRevisable
    {
        string Reason { get; set; }
        DateTime RevisedAt { get; set; }
        string RevisedBy { get; set; }
        string Name { get;  }
        void Save(string reeason, string revisedBy);
        //void Revert(string reason, string revisedBy, string revertedBy);
        bool IsDiscussion { get;  }
        List<IRevisable> LoadRevisions();
        string InnerType { get; }
        
    }
}
